import { App } from 'vue'
import libs from '@/component/lib'
import elementPlus from './element-plus/element-plus'
import { vue3Frame, Options } from '@lhy-assist/vue3'
import { cssNamespace } from '@/config'

export default {
  install(app: App) {
    app.use(libs)
    app.use(elementPlus)
    app.use(vue3Frame, {
      directives: {
        nsClass: {
          namespace: cssNamespace,
        },
      },
    } as Options)
  },
}
